package com.yjt.admin.system.dao;

import com.yjt.admin.system.entity.OrgSuperLeader;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yjt.admin.system.vo.org.OrgLeaderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 组织上级领导关系表 Mapper 接口
 * </p>
 *
 * @author zzp
 * @since 2021-10-14
 */
public interface OrgSuperLeaderMapper extends BaseMapper<OrgSuperLeader> {
    /**
     * 通过上级组织id查询上级组织领导信息
     * @param orgSuperLeaderIdList
     * @return
     */
    List<OrgLeaderVO> findOrgSuperLeaderById(@Param("orgSuperLeaderIdList") List<String> orgSuperLeaderIdList);
}
